package org.zhu.common.bean;


import org.zhu.common.bean.enums.OrderShippingStatus;

/**
 * Created by zhu yingzhi on 2017/9/29.
 * @author yingzhi zhu
 * 订单商品条目
 */
public class OrderItem {
    /**
     * 自增
     */
    private Long id;
    /**
     * 订单Id
     */
    private String order_id;
    /**
     * 用户标识
     */
    private Long user_id;
    /**
     * 商品Id
     */
    private Long goods_id;
    /**
     * 商品name
     */
    private String goods_name;
    /**
     * 商品规格
     */
    private String goods_attr;
    /**
     * 商品规格的Id 以|分开
     */
    private String goods_attr_id;
    /**
     * 商品数量
     */
    private int goods_number;
    /**
     * 商品图片
     */
    private String goods_img;
    /**
     * 订单商品单价
     */
    private double goods_price;
    /**
     * 订单商品总价
     */
    private double goods_total_price;
    /**
     * 商品单价运费价格
     */
    private double freight_price;
    /**
     * 商品的运费id
     */
    private Long freight_id;
    /**
     * 运输方式
     */
    private String transpost_mode;
    /**
     * 运单号
     */
    private String transpost_number;
    /**
     * 商品配送情况：未发货,已发货,已收货,退货
     */
    private OrderShippingStatus shipping_status;
    /**
     * 订单配送时间
     */
    private String shipping_time;


    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public double getGoods_total_price() {
        return goods_total_price;
    }

    public void setGoods_total_price(double goods_total_price) {
        this.goods_total_price = goods_total_price;
    }

    public Long getFreight_id() {
        return freight_id;
    }

    public void setFreight_id(Long freight_id) {
        this.freight_id = freight_id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public Long getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Long goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_attr() {
        return goods_attr;
    }

    public void setGoods_attr(String goods_attr) {
        this.goods_attr = goods_attr;
    }

    public String getGoods_attr_id() {
        return goods_attr_id;
    }

    public void setGoods_attr_id(String goods_attr_id) {
        this.goods_attr_id = goods_attr_id;
    }

    public int getGoods_number() {
        return goods_number;
    }

    public void setGoods_number(int goods_number) {
        this.goods_number = goods_number;
    }

    public String getGoods_img() {
        return goods_img;
    }

    public void setGoods_img(String goods_img) {
        this.goods_img = goods_img;
    }

    public double getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(double goods_price) {
        this.goods_price = goods_price;
    }

    public double getFreight_price() {
        return freight_price;
    }

    public void setFreight_price(double freight_price) {
        this.freight_price = freight_price;
    }

    public String getTranspost_mode() {
        return transpost_mode;
    }

    public void setTranspost_mode(String transpost_mode) {
        this.transpost_mode = transpost_mode;
    }

    public String getTranspost_number() {
        return transpost_number;
    }

    public void setTranspost_number(String transpost_number) {
        this.transpost_number = transpost_number;
    }

    public OrderShippingStatus getShipping_status() {
        return shipping_status;
    }

    public void setShipping_status(OrderShippingStatus shipping_status) {
        this.shipping_status = shipping_status;
    }

    public String getShipping_time() {
        return shipping_time;
    }

    public void setShipping_time(String shipping_time) {
        this.shipping_time = shipping_time;
    }
}
